﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using BI.CF.Model;

namespace BI.CF.IDAL
{
   public interface Autonym_IDAL
    {
        /// <summary>
        /// 会员实名审核显示
        /// </summary>
        /// <param name="UserName"></param>
        /// <param name="CrefiticationTimeMax"></param>
        /// <param name="CrefiticationTimeMin"></param>
        /// <param name="IdCard"></param>
        /// <param name="PageIndex"></param>
        /// <param name="PageSize"></param>
        /// <returns></returns>
       PageList.Pager<AutonymModel> GetAutonymShow(string UserName, string MinTime, string MaxTime, string IdCard, int PageIndex, int PageSize);
        
        /// <summary>
        /// 添加实名认证审核信息
        /// </summary>
        /// <param name="m"></param>
        /// <returns></returns>
        bool Autonym_ADD(AutonymModel m);
        
        /// <summary>
        /// 删除实名审核信息
        /// </summary>
        /// <returns></returns>
        bool Autonym_Dele(int id);
        /// <summary>
        /// 修改实名审核信息
        /// </summary>
        /// <returns></returns>
        bool Autonym_Upt(AutonymModel m);
        /// <summary>
        /// 根据id查询状态
        /// </summary>
        /// <param name="ID"></param>
        /// <returns></returns>
        AutonymModel Autonym_SeleID(int ID);
        /// <summary>
        /// 根据借款查询用户是否实名
        /// </summary>
        /// <param name="ID"></param>
        /// <returns></returns>
        AutonymModel Get_Authonym_Only(int ID);
         
        
    }
}
